package com.linkage.usercenter.dao;


import com.linkage.usercenter.pojo.entity.CoreCardInfo;
import com.linkage.usercenter.pojo.entity.CoreCardInfoWithBLOBs;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CoreCardInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CoreCardInfoWithBLOBs record);

    int insertSelective(CoreCardInfoWithBLOBs record);

    CoreCardInfoWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CoreCardInfoWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(CoreCardInfoWithBLOBs record);

    int updateByPrimaryKey(CoreCardInfo record);

    void updateOldRecordByPersonCode(CoreCardInfo record);
}